package com.huqing.icu.service;

import com.huqing.icu.base.PageDto;
import com.huqing.icu.base.PagingDto;
import com.huqing.icu.inout.in.app.UserFavoriteHouseReq;
import com.huqing.icu.inout.in.app.UserLikeHouseReq;
import com.huqing.icu.inout.out.app.AppHouseListResp;

public interface UserHouseRelationService {

    Integer likeHouse(UserLikeHouseReq userLikeHouseReq);

    Integer favoriteHouse(UserFavoriteHouseReq userFavoriteHouseReq);

    PagingDto<AppHouseListResp> queryMyLike(PageDto pageDto, Long userId);

    PagingDto<AppHouseListResp> queryMyFavorite(PageDto pageDto, Long userId);

    Integer incrCommentCount(Long userId, Long houseId);

    Integer decrActualCommentCount(Long userId, Long houseId, Integer count);
}
